package com.pai4j.pgc.dao;
import com.pai4j.pgc.entity.OpenApiAuthParamEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OpenApiAuthParamRepository extends JpaRepository<OpenApiAuthParamEntity, Long> {
    List<OpenApiAuthParamEntity> findByOpenapiIdOrderBySortNoAscIdAsc(Long openapiId);
    void deleteByOpenapiId(Long openapiId);
}
